body {
  background: url(homepage.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow: hidden;
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}
#goback {
  background-color: #f0f0f0;
  border: none;
  padding: 10px 14px;
  border-radius: 16px;
  cursor: pointer;
  font-size: 18px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  transition: background-color 0.3s, transform 0.2s;
  position: absolute;
  top:0%;
  left: 35%;
  color: #333;
}
#goback:hover {
  background-color: #e0e0e0;
  transform: scale(1.05);
}
@media (max-width:600px){
  #goback{
    left:5%;
    top:0%;
    font-size: 10px;
    padding:5px 7px;
  }
}
@media (min-width:601px) and (max-width:992px){
  #goback{
    left:15%;
    top:0%;
    font-size: 15px;
    padding: 8px 16px;
  }
}
.login-form,
.register-form {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  box-sizing: border-box;
}

.container input:focus {
  border-color: #74b9ff;
  outline: none;
}

.container button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg,#161D6F , #0B2F9F);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.container button:hover {
  background: linear-gradient(135deg, #0B2F9F,#161D6F );
  transform: translateY(-2px);
}

.container p {
  text-align: center;
  margin-top: 15px;
  color: #636e72;
}
.input-container {
  position: relative;
  width: 100%;
  margin-top: 5px;
  margin-bottom: 20px;
}

.input-container i {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 1rem;
  pointer-events: none;
}

.input-container input {
  width: 100%;
  padding: 12px;
  padding-left: 40px;
  padding-right: 40px;
  border: 2px solid #dfe6e9;
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
}
.input-container i {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: #999;
  pointer-events: none;
}

.input-container i.fa-lock,
.input-container i.fa-envelope,
.input-container i.fa-user {
  left: 12px;
  pointer-events: none;
}

.input-container i.toggle-password {
  right: 12px;
  cursor: pointer;
  pointer-events: auto;
}

.hide{
  display:none;
}

@media (max-width: 600px) {
  .container {
    padding: 15px;
  }
  
  .login-form,
  .register-form {
    padding: 25px;
    max-width: 300px;
  }
  .register-form{
    max-height: 80vh;
    overflow-y: auto;
  }
  .container h3 {
    font-size: 1.3rem;
  }
  
  .input-container{
    padding: 5px;
    font-size: 0.90rem;
  }
  .input-container i.fa-lock,
  .input-container i.fa-envelope,
  .input-container i.fa-user {
    left: 15px;
  }
  .input-container i.toggle-password{
    right: 15px;
  }
  .input-container input{
    padding-left: 30px;
  }
  
  .container button {
    padding: 11px;
    font-size: 0.95rem;
  }
  
  .container p {
    font-size: 0.9rem;
  }
}


@media (min-width: 601px) and (max-width: 992px) {
  .login-form {
    max-width: 400px;
    padding: 35px;
  }
  
  .register-form {
    max-width: 400px;
    padding: 35px;
    max-height: 90vh; 
    overflow-y: auto; 
  }

  .container h3 {
    font-size: 1.5rem;
  }
  
  .input-container {
    padding: 8px;
    font-size: 1rem;
  }
  .input-container input{
    margin-left: 0px;
    padding-left: 35px;
  }
  .input-container i.fa-lock,
  .input-container i.fa-envelope,
  .input-container i.fa-user {
    left: 20px;
  }
  .input-container i.toggle-password{
    right: 15px;
  }
  
  .container button {
    padding: 14px;
    font-size: 1.1rem;
  }
  
  .container p {
    font-size: 1.05rem;
  }
}

/*homepage*/
.main {
    width: 100%;
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap:20px;
    height:100vh;
    background-image: linear-gradient(rgba(240, 237, 237, 0.4), rgba(0, 0, 0, 0.4)), url(homepage.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
}
.main::-webkit-scrollbar {
    display: none;
}
.main.hide{
  display:none;
}
.top-elements{
    position: relative;
    margin-top: 20px;
    display:flex;
    justify-content: space-between;
    align-items: center;
    width: 95%;
}
.btn {
    position: relative;
    padding: 15px 40px;
    border: none;
    outline: none;
    color: #FFF;
    cursor: pointer;
    z-index: 0;
    border-radius: 12px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
}
.btn::after{
    content: "";
    z-index: -1;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #333;
    left: 0;
    top: 0;
    border-radius: 10px;
}
.btn::before{
    content: "";
    background: linear-gradient(
        45deg,
        #FF0000, #FF7300, #FFFB00, #48FF00,
        #00FFD5, #002BFF, #FF00C8, #FF0000
    );
    position: absolute;
    top: -2px;
    left: -2px;
    background-size: 600%;
    z-index: -1;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    filter: blur(8px);
    animation: glowing 20s linear infinite;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
    opacity: 0;
}
@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}
.btn:hover::before {
    opacity: 1;
}
.btn:active:after {
    background: transparent;
}
.btn:active {
    color: #000;
    font-weight: bold;
}
.logo {
    position: relative;
    width: 12%;
    height: auto;
}
.content {
    position: relative;
    color: white;
    display: flex;
    flex-direction: column;
    padding: 0 50px;
    width:90%;
    max-width: 1200px;
    margin-bottom: 30px;
}
.content h1 {
    font-size: clamp(32px, 4vw, 42px);
    margin-bottom: 30px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.stats-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.stat {
    flex: 1;
    min-width: 200px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}
.stat:hover {
    transform: translateY(-5px);
}
.stat h2 {
    font-size: clamp(36px, 5vw, 48px);
    margin-bottom: 8px;
    color: #FFF;
}
.stat h3 {
    font-size: clamp(18px, 2vw, 22px);
    margin-bottom: 12px;
    color: #FFF;
    font-weight: 600;
}
.stat p {
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 600px) {
    .content {
        padding: 0 20px;
    }
    .btn{
      font-size: 12px;
      padding: 8px 16px;
    }
    .logo {
        width: 20%;
    }
    .content h1 {
        font-size: clamp(24px, 3vw, 32px);
        margin-bottom: 20px;
    }
    .stats-container{
        flex-direction: column;
        align-items: center;
        flex-wrap: nowrap;
    }
    .stat h2 {
        font-size: clamp(28px, 4vw, 36px);
    }
    .stat h3 {
        font-size: clamp(16px, 2vw, 20px);
    }
}
@media (min-width: 601px) and (max-width: 992px) {
    .content {
        padding: 0 30px;
    }
    .btn{
      font-size: 14px;
      padding: 10px 20px;
    }
    .logo {
        width: 15%;
    }
    .content h1 {
        font-size: clamp(28px, 3.5vw, 36px);
        margin-bottom: 25px;
    }
    .stat h2 {
        font-size: clamp(28px, 4vw, 36px);
    }
    .stat h3 {
        font-size: clamp(16px, 2vw, 20px);
    }
    .stats-container{
        flex-direction: row;
    }
}

.specials{
  display:flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.special,
.lesson {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 25px;
  background: rgba(255, 255, 255, 0.05); 
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px); 
  transition: background 0.3s ease-in-out;
}
.special{
   width:45%;
   margin-bottom: 15px;
}
.lesson{
  width:100%;
}
.special-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width:50%;
}
.lesson-text{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width:70%;
}
.lessons-image{
  display: flex;
  justify-content: center;
  align-items: center;
  width:30%;
  height:80%;
}
#lessons-image{
  width:100%;
  height:100%;
  transition: transform 0.3s ease;
}

.lesson-text h1,
.special-text h1 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}
.special-text h1{
  text-decoration: underline;
  text-underline-offset: 5px;
}
.text {
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.special-image {
  display: flex;
  justify-content: center;
  align-items: center;
  width:50%;
  height:80%;
}

.special-image .i {
  width: 100%;
  height:100%;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}
.i.lead-gif{
  box-shadow: none;
  border-radius: 0;
}
.special-image .i:hover {
  transform: scale(1.02);
}
.end-cred{
  min-height:250px;
  width:100%;
  background:rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  display:flex;
  justify-content: space-evenly;
  align-items: center;
  color:#232323;
}
.cred{
  width:25%;
  font-size: 0.9rem;
}
#address{
  padding-bottom: 5px;
  border-bottom: 2px solid;
}
.end-cred a{
  color:black;
  text-decoration: none;
}
@media (max-width: 600px) {
  .specials {
    width:90%;
    flex-direction: column;
    flex-wrap: nowrap;
    gap:15px;
  }
  .special,
  .lesson{
    width:100%;
    padding:15px;
    gap:0;
  }
  .lesson{
    flex-direction: column;
  }
  .lesson-text{
    width:100%;
  }
  .special-text{
    text-align: left;
  }
  .special-text h1,
  .lesson-text h1 {
    font-size: 1rem;
    margin-bottom: 5px;
  }
  .lessons-image{
    width:60%;
  }
  .text {
    font-size: 0.8rem;
  }
  .cred{
    width:40%;
    font-size: 0.7rem;
  }
  #address{
    border-bottom: 1px solid;
  }
}